<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">

<h:head>
    <title>@MRU login page</title>

    <h:outputStylesheet name="css/main-style.css"/>
    <h:outputStylesheet name="css/tree-style.css"/>
    <h:outputStylesheet name="css/menu-style.css"/>
</h:head>

<h:body>
    <div class="header-container" style="height: 25px;">
        <div id="header-container" class="header-wrapper fixed-top">
            <div class="fixed-width-container">
                <p:outputPanel layout="block" styleClass="header-title header-inline">
                    Logare necesara pentru accesare sistem
                </p:outputPanel>

                <div class="header-right-container">
                    <div class="header-centered">

                        <h:form prependId="false" style="color: #fff">
                            <p:outputLabel for="username" value="Parola: "/>
                            <p:inputText id="username" value="#{authenticationBean.password}"/>

                            <p:commandButton value="Cripteaza" action="#{authenticationBean.encrypt}"/>
                        </h:form>

                    </div>
                </div>
            </div>
        </div>
    </div>
    <p:outputPanel layout="block" autoUpdate="true">
        <h:outputText value="#{authenticationBean.encryptPassword}"/>
    </p:outputPanel>

</h:body>
</html>
